package fairing

import "github.com/gin-gonic/gin"

//全局中间件
type Goablefairing struct {
}

func (g Goablefairing) OnRequest(context *gin.Context) error {
	return nil
}

func (g Goablefairing) OnResponse(result interface{}) (interface{}, error) {
	return result, nil
}

func NewGoablefairing() *Goablefairing {
	return &Goablefairing{}
}
